<%@ include file="Common.jsp" %>

<%!
//
//   Filename: Registration_Success.jsp
//   Generated with CodeCharge  v.1.2.0
//   JSP.ccp build 05/21/01
//

static final String sFileName = "Registration_Success.jsp";

%>

<%
String emailAddress = (String) session.getAttribute("EmailAddress");

	if (emailAddress == null || "".equals(emailAddress)) {
		response.sendRedirect ("Login.jsp");
		return;
	}
%>

<html>
<head>
<title>Zoccer fuer Profis - Regsitrierung</title>
<meta http-equiv="pragma" content="no-cache"/>
<meta http-equiv="expires" content="0"/>
<meta http-equiv="cache-control" content="no-cache"/>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>
<body style="background-color: #FFFFFF; color: #000000; font-family: Arial, Tahoma, Verdana, Helveticabackground-color: #FFFFFF; color: #000000; font-family: Arial, Tahoma, Verdana, Helvetica">
<jsp:include page="Header.jsp" flush="true"/><center>
 <table>
  <tr>
   
   <td valign="top">
<% Form_Show(request, response, session, out); %>    
   </td>
  </tr>
 </table>

<jsp:include page="Footer.jsp" flush="true"/>

</body>
</html>

<%!

	void Form_Show(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.http.HttpSession session, javax.servlet.jsp.JspWriter out) throws java.io.IOException {

		String emailAddress = (String) session.getAttribute("EmailAddress");
		session.removeAttribute("EmailAddress");

		if (! isEmpty(emailAddress)) {
			out.println("<br><br>");
			out.println("<center><font style=\"font-size: 14pt; color: #000000\">Liebe(r) Mitspieler(in),</font></center>");
			out.println("<br>");
			out.println("<center><font style=\"font-size: 12pt; color: #000000\">Sie haben sich erfolgreich f&uuml;r das Tippspiel zur WM 2010 registriert.</font></center>");
			out.println("<br>");
			out.println("<center><font style=\"font-size: 12pt; color: #000000\">Das Passwort wird in K&uuml;rze an Ihre BT-Emailadresse </font></center>"); 
			out.println("<br>");
			out.println("<center><font style=\"font-size: 12pt; color: #000000\"><b>" + emailAddress + "</b> gesendet.</font></center>");
			out.println("<br><br><br>");
		}

	}

%>
